{extend name="layouts/main" /}
{block name="link"}{/block}
{block name="content"}
<div class="layui-tab layui-tab-brief" lay-filter="demoTitle">
	<div class="layui-body layui-tab-content site-demo site-demo-body" style="top: 0px;left: 0px;">
		<div class="layui-tab-item layui-show">
			<div class="layui-main">
				<div id="LAY_preview">
					<div class="layui-fluid" style="position: relative;margin: 0 auto;padding: 0 0px;">
						<div class="layui-card" style="overflow-y: hidden;float: left;width: 100%;">
							<form class="layui-form form-horizontal" action="{:url('')}" method="post">
								<table class="layui-table" lay-filter="tableEvent">
									<colgroup>
										<col width="18%">
										<col>
									</colgroup>
									<tbody>
										{volist name="info" id="vo"}
										<tr>
											<td>{$vo.title} [{$vo.name}]</td>
											<td><textarea name="{$vo.name}" class="layui-textarea">{$vo.value}</textarea></td>
										</tr>
										{/volist}
										<tr>
											<td colspan="2">
												<div class="layui-form-item">
													<div class="layui-input-block">
														<input type="hidden" name="id" value="{$id}">
														<button class="layui-btn x_admin_close ajax-post" type="submit" target-form="form-horizontal" lay-submit="" lay-filter="formDemo">提交保存</button>
														<button type="reset" class="layui-btn layui-btn-danger">重置</button>
														<!-- <a class="layui-btn layui-btn-primary" href="javascript:;" onclick="history.go(-1);">返回</a> -->
													</div>
												</div>
											</td>
										</tr>
									</tbody>
								</table>
							</form>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</div>
{/block}
{block name="footer"}
{/block}
{block name="js"}
{/block}